package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: fanliBusiness 
* @Description: 返利-商家表定义表
* @author eason
* @date 2017-02-13 14:21:23
*
 */
@Entity
@Table(name = "tb_xa_fanlibusiness")
@ApiModel(value="返利-商家表定义表")
public class FanliBusiness extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="商家名称中文,商家名称中文，中文必须保证唯一")
	private String businessName;
	@ApiModelProperty(value="商家名称英文,商家名称英文，英文必须保证唯一")
	private String businessEnName;
	@ApiModelProperty(value="网站地址,网站地址")
	private String website;
	@ApiModelProperty(value="请求返利信息的地址,请求返利信息的地址")
	private String fanliConfirmUrl;
	@ApiModelProperty(value="图标,图标")
	private String icon;
	@ApiModelProperty(value="口号,口号")
	private String slogan;	
	
	public void setBusinessName(String businessName){
		this.businessName=businessName;
	}
	
	@Column(nullable=true,length=255)
	public String getBusinessName(){
		return businessName;
	}
	public void setBusinessEnName(String businessEnName){
		this.businessEnName=businessEnName;
	}
	
	@Column(nullable=true,length=255)
	public String getBusinessEnName(){
		return businessEnName;
	}
	public void setWebsite(String website){
		this.website=website;
	}
	
	@Column(nullable=true,length=6000)
	public String getWebsite(){
		return website;
	}
	public void setFanliConfirmUrl(String fanliConfirmUrl){
		this.fanliConfirmUrl=fanliConfirmUrl;
	}
	
	@Column(nullable=true,length=6000)
	public String getFanliConfirmUrl(){
		return fanliConfirmUrl;
	}
	
	public void setIcon(String icon){
		this.icon=icon;
	}
	
	@Column(nullable=true,length=255)
	public String getIcon(){
		return icon;
	}
	public void setSlogan(String slogan){
		this.slogan=slogan;
	}
	
	@Column(nullable=true,length=255)
	public String getSlogan(){
		return slogan;
	}
	
	@Override
    public String toString() {
        return "FanliBusiness[businessName=" + businessName + ", businessEnName=" + businessEnName
                + ", website=" + website + ", fanliConfirmUrl=" + fanliConfirmUrl + "]";
    }
}
